const path = require('path')
function resolve(dir) {
  return path.resolve(__dirname, dir)
}
module.exports = {
  publicPath: "/",
  lintOnSave: true,
  chainWebpack: config => {
    config.resolve.alias
      .set('@', resolve('src'))
      .set('~', resolve('src/components'))
  }
}